﻿

//wx.config({
//    debug: false,
//    appId: '<%=appid %>',
//    timestamp: '<%=time %>',
//    nonceStr: '<%=noncestr %>',
//    signature: '<%=resp %>',
//    jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'uploadImage', 'chooseImage']
//});
//wx.ready(function() {
//    //wx.error(function (res) {
//    //    alert(JSON.stringify(res));
//    //});
//    var shareData = {
//        title: "<%=Product.Name.Replace("\"","\\\"")%>", // 分享标题
//    desc: '<%=!string.IsNullOrEmpty(MemberEntity.ShopShare)?MemberEntity.ShopShare:MemberEntity.ShopDesc %>', // 分享语
//    link:'<%=MainUrl%>'+'/page/shop/productdetail.aspx?shopno=<%=MemberEntity.ShopNo %>&Sku=<%=Sku %>', // 分享链接
//    imgUrl: '<%=Imgurl + Product.ImgUrl %>',
//    };
//wx.showOptionMenu();
//wx.onMenuShareTimeline(shareData);
//wx.onMenuShareAppMessage(shareData);
//wx.onMenuShareWeibo(shareData);
//wx.onMenuShareQQ(shareData);
//wx.onMenuShareQZone(shareData);
//});